package com.gzsxy.esjy.service.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单关系
 * </p>
 *
 * @author zxl
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_order_product")
@ApiModel(value="OrderProduct对象", description="订单关系")
public class OrderProduct extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单ID（外键）")
    private String orderId;

    @ApiModelProperty(value = "商品ID（外键）")
    private String productId;

    @ApiModelProperty(value = "后台商家的用户id")
    private String userId;

    @ApiModelProperty(value = "数量")
    private Integer number;




}
